package com.ssy.lingxi.pay.api.common;

import com.ssy.lingxi.common.language.LanguageHolder;

/**
 * 建行数字人民币支付类型
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/12/28
 */
public enum CcbDigitalPayTypeEnum {

    WEB(1, "动态二维码"),
    APP(2, "H5");

    private Integer code;

    CcbDigitalPayTypeEnum(Integer code, String message) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return LanguageHolder.getName(this.getClass(), this.code);
    }
}
